<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>vmodel</title>
    <script src="https://cdn.bootcss.com/vue/2.6.10/vue.js"></script>
</head>
<body>
    <div id="app">
<!--
v-model 绑定一个属性名，当我们给当前的标签赋值的时候，属性的值也会跟着变化。
-->
        <input type="text" v-model="title"><br>
        {{title}}<br>
        <a v-bind:href="link">加字</a>
        <a :href="link">加字省略</a>
    </div>
</body>
<script>
    new Vue({
       el: "#app",
       data: {
           title: "title会变化吗，我是title title碾碎它",
           link: "https://www.baidu.com"
       }
    });
</script>
</html>